package cn.flkj.evidence.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 州长在手 2020/9/2 下午14:50
 */
@Getter
@AllArgsConstructor

public enum ResultEnum {
    PASS_ERROR("00011", "密码前后不一致"),
    LOGIN_ERROR("00010", "你的登录信息异常"),
    TOKEN_ERROR("00009", "无token，请重新登录"),
    FTP_ERROR("00008", "FTP 连接失败"),
    ZH_REERO("00007", "帐号已存在"),
    ZHMM_ERROR("00006", "帐号密码错误或者未认证"),
    ZHMMNLL_ERROR("00005", "帐号密码为空"),
    GET_ERROR("00004", "领取任务失败，任务已被领取"),
    DELETE_ERROR("00003", "删除失败"),
    UNKNOW_ERROR("00002", "未知错误"),
    NOTFOUND("00001", "未找到该对象"),
    SUCCESS("00000", "成功了o(*￣▽￣*)ブ");
    private String code;
    private String msg;
}
